import { createRouter, createWebHistory } from 'vue-router'
import CommonExample from '../views/commonExample/commonExample.vue'
import FileUploadExample from '../views/fileUploadExample/fileUploadExample.vue'
import GroupFilterExample from '../views/groupFilterExample/groupFilterExample.vue'
import FormRulesExample from '../views/formRulesExample/formRulesExample.vue'
const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      name: 'CommonExample',
      component: CommonExample
    },{
      path: '/common',
      name: 'CommonExample',
      component: CommonExample
    },{
      path: '/fileUpload',
      name: 'FileUploadExample',
      component: FileUploadExample
    },{
      path: '/groupFilter',
      name: 'GroupFilterExample',
      component: GroupFilterExample
    },{
      path: '/formRules',
      name: 'FormRulesExample',
      component: FormRulesExample
    }
  ]
})

export default router
